package com.yhb.dao;

import com.yhb.model.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressMapper {
    int addAddress(@Param("address")Address address);
    int modifyAddress(@Param("address")Address address);
    int deleteAddress(@Param("address")Address address);

    List<Address> userAddress(@Param("userId")String userId);
    Address addressById(@Param("addressId")String addressId);

}
